<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>Title</title>
</head>
<body>

<script>
  document.write('<h1>我是一级标签</h1>')
  // 控制台打印输出
  console.log('看对不对')
  prompt('输入你的名字')
</script>
</body>
</html>